/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tpe.yana.testp1;

import java.util.Stack;

/**
 *
 * @author yana
 */
public class Model {

    private Tower a = new Tower();
    private Tower b = new Tower();
    private Tower c = new Tower();
    private final int height;

    public Model(int height) {
        this.height = height;
        for(int i = height; i > 0; i--) {
            a.push(new Disk(i));
        }
    }

    public Tower getA() {
        return a;
    }

    public Tower getB() {
        return b;
    }

    public Tower getC() {
        return c;
    }

    public int getHeight() {
        return height;
    }
}
